Hizzle\Noptin\Emails\Email D

Total Complexity 209
Dependencies 5
Dependents 13
Total lines 1,463
Lines of code 776
Logical lines of code 407
Comment lines 410
Methods 56
Properties 12

Methods 56

Method Rating Maintainability Complexity Lines of code
init()
C
30 28 117
send_to()
B
39 17 62
send()
B
36 16 73
check_can_send()
A
50 11 25
parse_attachment_file_path()
A
45 9 38
save()
A
44 8 43
__construct()
A
56 8 18
get_attachments()
S
58 6 15
get()
S
57 6 15
supports()
S
61 6 12
init_args()
S
57 5 16
get_js_data()
S
47 3 37
get_sends_after_unit()
S
65 5 8
get_contexts()
S
60 4 14
get_base_url()
S
62 4 11
get_children()
S
58 3 17
get_email_type()
S
64 4 9
duplicate()
S
60 3 13
get_merge_tags()
S
56 2 21
prepare_preview()
S
58 2 15
get_content()
S
66 3 9
get_template()
S
64 3 10
sends_immediately()
S
70 3 6
get_sender()
S
68 3 6
can_send()
S
69 3 7
get_view_in_browser_url()
S
61 2 13
restore()
S
67 2 8
get_placeholder_recipient()
S
62 2 10
is_mass_mail()
S
78 2 3
from()
S
72 2 6
current_user_can_edit()
S
71 2 6
current_user_can_delete()
S
71 2 6
trash()
S
67 2 8
delete()
S
66 2 8
is_automation_rule()
S
77 2 3
get_trigger()
S
78 2 3
get_manual_recipients_ids()
S
74 2 4
get_recipients()
S
75 2 4
to_array()
S
62 1 14
get_send_count()
S
73 1 4
get_open_count()
S
74 1 4
get_click_count()
S
74 1 4
exists()
S
80 1 3
get_duplication_url()
S
80 1 3
get_delete_url()
S
80 1 3
get_action_url()
S
68 1 7
__get()
S
80 1 3
get_sub_type()
S
79 1 3
get_sub_types()
S
80 1 3
get_preview_url()
S
80 1 3
get_edit_url()
S
71 1 6
is_published()
S
74 1 4
get_sends_after()
S
80 1 3
supports_timing()
S
78 1 3
get_subject()
S
82 1 3
get_unsubscribe_count()
S
74 1 4